package com.cuoyi.coupon.mall.model.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 新增转码接口
 *
 * @author zhang.cheng
 * 2022-02-25 21:05
 **/

@Data
public class TransCodeAddReq {

    @ApiModelProperty("转码id")
    private Long id;

    @ApiModelProperty("品牌id")
    private Integer brandId;

    @NotBlank(message = "品牌名称不能为空")
    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("真实有效期")
    private Integer realValid;

    @ApiModelProperty("卡号卡密集合")
    private List<TransCodeCouponReq> transCodeCouponReqs;

    @ApiModelProperty("二维码上传地址")
    private List<String> imageUrls;

    @ApiModelProperty("提示有效期")
    private Integer promptValid;

    @ApiModelProperty("提示有效期")
    private String newUrl;

    @ApiModelProperty("转码类型 1 按二维码 2 按券码")
    private Integer type;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新人")
    private String updateUser;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("出售平台")
    private String salesPlatform;

    @ApiModelProperty("关联订单")
    private String relationOrder;

    @ApiModelProperty("0待出售 1已出售")
    private Integer status;

}
